<?php 
$id= $_GET["id"];
$sql = "select * from giang_vien where ID=".$id;
$result = mysql_query($sql);
$row = mysql_fetch_array($result);
?>
<form name="form1" method="post" action="?mod=qlgv&act=updateOk" enctype="multipart/form-data">
  <p>
    <input name="id" type="hidden" value="<?php echo $row["ID"] ?>">
  </p>
  <p> M&atilde; Gi&#7843;ng Vi&ecirc;n:
    <input type="text" name="maGV" value="<?php echo $row["maGV"]?>"/>
  </p>
  <p>T&ecirc;n Gi&#7843;ng Vi&ecirc;n:
    <input type="text" name="tenGV" value="<?php echo $row["tenGV"]?>" />
  </p>
  <p>Ch&#7913;c Danh:
    <input type="text" name="chucDanh" value="<?php echo $row["chucDanh"]?>" />
  </p>
  <p>Gi&#7899;i T&iacute;nh:
    <input type="text" name="gioiTinh" value="<?php echo $row["gioiTinh"]?>" />
  </p>
  <p>Email:
    <input type="text" name="email" value="<?php echo $row["email"]?>" />
  </p>
  <p>S&#7889; &#272;i&#7879;n Tho&#7841;i:
    <input type="text" name="SDT" value="<?php echo $row["SDT"]?>" />
  </p>
  <p>N&#259;m Sinh:
    <input type="text" name="namSinh" value="<?php echo $row["namSinh"]?>" />
  </p>
  <p>B&#7897; M&ocirc;n:
    <input type="text" name="boMon" value="<?php echo $row["boMon"]?>" />
  </p>
  <p>
    <input type="submit" name="Submit" value="L&#432;u" />
  </p>
</form>
